from machine import I2C
from typing import Optional

def i2c_read(i2c: I2C, addr: int, nbytes: int) -> Optional[bytes]:
    """
    Read data from the specified I2C address
    """
    try:
        return i2c.readfrom(addr, nbytes)
    except Exception:
        return None
